package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公益活动对象 db_welfare
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class DbWelfare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公益标题 */
    @Excel(name = "公益标题")
    private String welfareTitle;

    /** 公益内容 */
    @Excel(name = "公益内容")
    private String welfareContent;

    /** 发送类型 */
    @Excel(name = "发送类型")
    private String sendType;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String backup;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWelfareTitle(String welfareTitle) 
    {
        this.welfareTitle = welfareTitle;
    }

    public String getWelfareTitle() 
    {
        return welfareTitle;
    }

    public void setWelfareContent(String welfareContent) 
    {
        this.welfareContent = welfareContent;
    }

    public String getWelfareContent() 
    {
        return welfareContent;
    }

    public void setSendType(String sendType) 
    {
        this.sendType = sendType;
    }

    public String getSendType() 
    {
        return sendType;
    }

    public void setBackup(String backup) 
    {
        this.backup = backup;
    }

    public String getBackup() 
    {
        return backup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("welfareTitle", getWelfareTitle())
            .append("welfareContent", getWelfareContent())
            .append("sendType", getSendType())
            .append("backup", getBackup())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
